import { getAction, deleteAction, putAction, postAction, postActionWithParams, httpAction } from '@/api/manage'

//调课分页
const adjustCourseList = (params,data) =>postActionWithParams('/edu-schedule/classSwitch/veJwTiaoke/list',params,data)
//批量审核通过
const batchPass = (params) => postAction("/edu-schedule/classSwitch/veJwTiaoke/pass?ids="+params);
//批量审核不通过
const batchNoPass = (params) => postAction("/edu-schedule/classSwitch/veJwTiaoke/noPass?ids="+params);
//通过id查询
const queryById = (id) => postAction("/edu-schedule/classSwitch/veJwTiaoke/queryById?id="+id);
//编辑调课审批
const editAudit = (params) => postAction("/edu-schedule/classSwitch/veJwTiaoke/edit",params);
//新增调课
const addCourse = (params,data) =>postActionWithParams('/edu-schedule/classSwitch/veJwTiaoke/add',params,data)

export {
    adjustCourseList,
    batchPass,
    batchNoPass,
    queryById,
    editAudit,
    addCourse
}